<script setup lang="ts">
const props = defineProps<{
    ujt: any;
}>();
const { $model } = props.ujt;
function onUpload(text: any) {
    console.log('onUpload', text);
}
</script>

<template>
    <h1>上传txt测试</h1>
    <AsUploadTxt :ujt="ujt" @onUpload="onUpload"></AsUploadTxt>
</template>

<style scoped lang="scss"></style>
